Cuminas DjVu SDK for .NET Framework
Draw(Byte[],Int32,Int32,Rectangle,Size,RenderingMode,RenderingOptions) Method



Buffer to draw the page image on.
Index on the array, which points where to store the image data.
Image stride. Bytes-per-line on the buffer, including the paddings on the line end.
Area on the page image to draw.
Whole page image size, by which the area is defined.
One of RenderingMode Enumeration values to specify layes to render.
Any combinations of RenderingOptions Enumeration values to specify renderer behavior.
Renders image of the specified page portion on the specified buffer.
Syntax
Public Overloads Sub Draw( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal stride As Integer, _
   ByVal rect As Rectangle, _
   ByVal imageSize As Size, _
   ByVal renderingMode As RenderingMode, _
   ByVal options As RenderingOptions _
) 
Dim instance As Page
Dim buffer() As Byte
Dim offset As Integer
Dim stride As Integer
Dim rect As Rectangle
Dim imageSize As Size
Dim renderingMode As RenderingMode
Dim options As RenderingOptions
 
instance.Draw(buffer, offset, stride, rect, imageSize, renderingMode, options)

Parameters

buffer
Buffer to draw the page image on.
offset
Index on the array, which points where to store the image data.
stride
Image stride. Bytes-per-line on the buffer, including the paddings on the line end.
rect
Area on the page image to draw.
imageSize
Whole page image size, by which the area is defined.
renderingMode
One of RenderingMode Enumeration values to specify layes to render.
options
Any combinations of RenderingOptions Enumeration values to specify renderer behavior.
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

Page Class
Page Members
Overload List
RenderImage Method

Send Feedback